const {
	Controller
} = require("uni-cloud-router");
module.exports = class CollectionController extends(
	Controller
) {
	async get(event, context) {
		return this.service.collection.get(event.event);
	}
	async pay(event, context) {
		return this.service.collection.pay(event.event);
	}
};